package cn.wolfcode.luowowo.service;

import cn.wolfcode.luowowo.domain.UserInfo;

public interface IUserInfoService {

    boolean checkPhone(String phone);

    void sendVerifyCode(String s, String smsUrl, String smsSign, String phone);

    void regist(String verifyCode, String phone, String nickname, String password, String rpassword);

    void save(UserInfo userInfo);

    /**
     * 用户登录
     * @param username
     * @param password
     * @return
     */
    UserInfo login(String username, String password);
}
